1
general::
Phrase(s): have a close shave [and] have a close call
Fig. to have a narrow escape from something dangerous. • What a close shave I had! I nearly fell off the roof when I was working there. • I almost got struck by a speeding car. It was a close shave.
McGrawhill's American Idioms And Phrasal Verbs